package com.lushuan.ch10_springboot_security.dao;


import com.lushuan.ch10_springboot_security.entity.UserDTO;
import com.lushuan.ch10_springboot_security.entity.UserDetails;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface UserRepository {

    List<UserDTO> findAll();

    UserDetails findById(Long userId);
}
